from pom.basepage import BasePage

class LoginPage(BasePage):

    def __init__(self,driver):
        super(LoginPage, self).__init__(driver)
        self.__input_token_xpath = '//*[@resource-id="org.cnodejs.android.md:id/edt_access_token"]'

    def input_user_token(self,token):
        token_input = self.driver.find_element_by_xpath(self.__input_token_xpath)
        token_input.clear()
        token_input.send_keys(token)